package com.ruoyi.common.constant;

/**
 * 常用常量
 * 
 * @author yjf
 */
public class SysConstants
{

    public static final String CONSTANT_STR0 = "0";

    public static final String CONSTANT_STR1 = "1";

    public static final String CONSTANT_STR2 = "2";

    public static final String CONSTANT_STR3 = "3";

    public static final String CONSTANT_STR5 = "5";

    public static final String CONSTANT_STR6 = "6";

    public static final Integer CONSTANT_INT1 = 1;
    
    public static final Integer CONSTANT_INT2 = 2;

    public static final Integer CONSTANT_INT0 = 0;
    
    public static final Integer CONSTANT_INT3 = 3;

    //登录输错账号密码次数限制
    public static final Integer CONSTANT_INT5 = 5;
    //检查用户是否在线
    public static final Integer CONSTANT_INT1001 = 1001;
    //检查用户是否在线
    public static final Integer CONSTANT_INT1002 = 1002;
    //用户在线时间戳差，前端默认一分钟调一回接口，默认7分钟(420秒)
    public static final Long CHECK_ONLINE_DIFF = 420L;

    /**
     * 常用数字
     */
    public static final Long LONG_0 = 0L;
    public static final Long LONG_1 = 1L;

    /**
     * 视频流
     */
    //视频流地址固定部分
    public static final String RTSP_URL = "rtsp://120.77.15.111:8554/";

    //不作固定值
    public static final String PRIVATE_KEY = "7ec2c5fc7a3e2a1a7c8565ea79a77267";
    //不作固定值
    public static final String RTSP_TOKEN = "7aa6bc79eb732ab128466f6ebbb4ff00";

    public static final String RTSP_HOST = "http://demo:demo@120.77.15.111:7087";

    public static final String RTSP_IP = "120.77.15.111:7087";

    public static final String RTSP_PATH = "/streams";

}
